package com.tronsis.distribution.bean;

import java.io.Serializable;

public class ProductCodeFindBean implements Serializable {

    /**
     * id : string
     * name : string
     * phone : string
     * productCode : string
     * productName : string
     * receiver : {"avatarFid":"string","code":"string","createdOn":"string","id":"string","level":"B()","name":"string","phone":"string","region":"string","role":"AGENT(代理)","wechatId":"string","wechatVcardFid":"string"}
     * receiverAddr : {"detail":"string","name":"string","phone":"string","region":"string"}
     * scanOn : string
     */

    private String id;
    private String name;
    private String phone;
    private String productCode;
    private String productName;
    private ReceiverBean receiver;
    private ReceiverAddrBean receiverAddr;
    private String scanOn;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public ReceiverBean getReceiver() {
        return receiver;
    }

    public void setReceiver(ReceiverBean receiver) {
        this.receiver = receiver;
    }

    public ReceiverAddrBean getReceiverAddr() {
        return receiverAddr;
    }

    public void setReceiverAddr(ReceiverAddrBean receiverAddr) {
        this.receiverAddr = receiverAddr;
    }

    public String getScanOn() {
        return scanOn;
    }

    public void setScanOn(String scanOn) {
        this.scanOn = scanOn;
    }

    public static class ReceiverBean implements Serializable{
        /**
         * avatarFid : string
         * code : string
         * createdOn : string
         * id : string
         * level : B()
         * name : string
         * phone : string
         * region : string
         * role : AGENT(代理)
         * wechatId : string
         * wechatVcardFid : string
         */

        private String avatarFid;
        private String code;
        private String createdOn;
        private String id;
        private String level;
        private String name;
        private String phone;
        private String region;
        private String role;
        private String wechatId;
        private String wechatVcardFid;
        private boolean united; //是否联创

        public boolean isUnited() {
            return united;
        }

        public void setUnited(boolean united) {
            this.united = united;
        }

        public String getAvatarFid() {
            return avatarFid;
        }

        public void setAvatarFid(String avatarFid) {
            this.avatarFid = avatarFid;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getCreatedOn() {
            return createdOn;
        }

        public void setCreatedOn(String createdOn) {
            this.createdOn = createdOn;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getWechatId() {
            return wechatId;
        }

        public void setWechatId(String wechatId) {
            this.wechatId = wechatId;
        }

        public String getWechatVcardFid() {
            return wechatVcardFid;
        }

        public void setWechatVcardFid(String wechatVcardFid) {
            this.wechatVcardFid = wechatVcardFid;
        }
    }

    public static class ReceiverAddrBean implements Serializable{
        /**
         * detail : string
         * name : string
         * phone : string
         * region : string
         */

        private String detail;
        private String name;
        private String phone;
        private String region;

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }
    }
}
